package com.qfedu.dao;

import com.qfedu.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserDAO {

    public int insertUser(User user);

    public User queryUserByNameAndPwd(@Param("name") String name,
                                      @Param("pwd") String pwd);

    public User queryUserByUid(Integer uid);
}
